/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.star.common;

/**
 *
 * @author ngotandieu
 */
public class CateData {
    String id;
    String name;
    int position;
    long created;

    public CateData() {
        name = "";
        position = 0;
        created = 0;
    }
    
    public CateData(String id, String name, int position, long created) {
        this.id = id;
        this.name = name;
        this.position = position;
        this.created = created;
    }

    public CateData(String id, String name, int position) {
        this.id = id;
        this.name = name;
        this.position = position;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPosition(int position) {
        this.position = position;
    }

    public void setCreated(int created) {
        this.created = created;
    }

    public String getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public int getPosition() {
        return position;
    }

    public long getCreated() {
        return created;
    }
    
    
}
